package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 评价对象 jiajia_appraise
 * 
 * @author knd
 * @date 2021-10-13
 */
public class JiajiaAppraise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 社工id */
    @Excel(name = "社工id")
    private Long wid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 项目id */
    @Excel(name = "项目id")
    private Long iid;

    /** 订单id */
    @Excel(name = "订单id")
    private Long oid;

    /** 评论时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm.ss")
    @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 用户评分 */
    @Excel(name = "用户评分")
    private Integer score;

    /** 是否匿名0否1是 */
    @Excel(name = "是否匿名0否1是")
    private Long anonymity;

    /**是否删除0否1是 */
    @Excel(name = "是否删除0否1是")
    private Long del;

    /**社工名字*/
    private String jiShiName;

    /**用户名字*/
    private String userName;

    /**用户头像*/
    private String uAvatar;

    /**订单号*/
    private String oOrdersn;

    /**项目名字*/
    private String iName;


    public String getoOrdersn() {
        return oOrdersn;
    }

    public void setoOrdersn(String oOrdersn) {
        this.oOrdersn = oOrdersn;
    }

    public String getiName() {
        return iName;
    }

    public void setiName(String iName) {
        this.iName = iName;
    }

    public String getuAvatar() {
        return uAvatar;
    }

    public void setuAvatar(String uAvatar) {
        this.uAvatar = uAvatar;
    }

    public String getJiShiName() {
        return jiShiName;
    }

    public void setJiShiName(String jiShiName) {
        this.jiShiName = jiShiName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getDel() {
        return del;
    }

    public void setDel(Long del) {
        this.del = del;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWid(Long wid) 
    {
        this.wid = wid;
    }

    public Long getWid() 
    {
        return wid;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setIid(Long iid) 
    {
        this.iid = iid;
    }

    public Long getIid() 
    {
        return iid;
    }
    public void setOid(Long oid) 
    {
        this.oid = oid;
    }

    public Long getOid() 
    {
        return oid;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setScore(Integer score) 
    {
        this.score = score;
    }

    public Integer getScore() 
    {
        return score;
    }
    public void setAnonymity(Long anonymity) 
    {
        this.anonymity = anonymity;
    }

    public Long getAnonymity() 
    {
        return anonymity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wid", getWid())
            .append("uid", getUid())
            .append("iid", getIid())
            .append("oid", getOid())
            .append("addtime", getAddtime())
            .append("content", getContent())
            .append("score", getScore())
            .append("anonymity", getAnonymity())
            .toString();
    }
}
